#include"Threadpool.hpp"


int main()
{
    Threadpool<func>*poo=Threadpool<func>::Getptr();
    poo->Init();
    poo->Start();
    sleep(1);
        int num=10;
    while(num--)
    {
        poo->Equeue(zgnb);
    }
    // Thread t1;
    // t1.setFunc([]()->void{cout<<"555"<<endl;});
    // t1.start();
    // t1.wait();
    poo->Wait();

    return 0;
}